package demo03;

/**
 * @author: WangPeng
 * @createTime: 2022/10/25 17:10
 * @description:
 * @version: v1.0
 */
public class Info<T> {
    private T var;

    public T getVar() {
        return var;
    }

    public void setVar(T var) {
        this.var = var;
    }

    public void show(){
        System.out.println("var="+var);
    }
}
